package com.example.Domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "two_card")
public class Card {
    @TableId
    private  Integer id;
    @TableField(value = "card_name")
    private String cardName;
    @TableField(value = "card_time")
    private Date cardTime;
    @TableField(value = "card_describe")
    private String cardDescribe;
    @TableField(value = "card_people")
    private Integer  cardPeople;
    @TableField(value = "card_img")
    private String cardImg;
    @TableField(value = "card_state")
    private Integer cardState;
    @TableField(value = "end_time")
    private Date endTime;
    @TableField(value = "user_id")
    private Integer userId;
}
